package android07.newtop.app;

import android.app.Activity;
import android.os.Bundle;

import com.jude.beam.bijection.ActivityLifeCycleDelegate;
import com.jude.beam.bijection.BeamAppCompatActivity;


/**
 * 委托:在每个activity的相应的生命周期植入代码，但是这些代码 放到委托中执行，这样分离代码
 * Created by hy on 2016/7/6.
 */
public class ActivityDelegate extends ActivityLifeCycleDelegate {
    public ActivityDelegate(BeamAppCompatActivity act) {
        super(act);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    protected void onResume() {
        super.onResume();
    }

    @Override
    protected void onPause() {
        super.onPause();

    }

    @Override
    protected void onDestroy() {
        super.onDestroy();

    }
}
